<style type="text/css" >
.td{ background-color:#eee;} .tdview { border-bottom:1px solid #eee; border-collapse:collapse;}
.trstyle { background-color:#F7FFBD;}
</style>
<script language="javascript" type="text/javascript">
function setTrStyle(obj){
$(obj).addClass("trstyle");
}
function removeTrStyle(obj){
$(obj).removeClass("trstyle");
}
</script>
<div class="title"><img src="img/pages.png" border="0" align="middle" />&nbsp;&nbsp;{ %lang p19}</div>
<table width="100%" cellspacing="4" cellpadding="4" border="0">
<tr>
<td></td>
<td valign="top" class="td"><b> <a href="{ %action(pageslist,sort=title)}">{ %lang p4}</a></b></td>
<td valign="top" class="td"><b><a href="{ %action(pageslist,sort=name)}">{ %lang p4}</a></b></td>
<td valign="top" class="td"><b><a href="{ %action(pageslist,sort=lang)}">{ %lang p5}</a></b></td>
<td valign="top" class="td"><a href="{ %action(pageslist,sort=rating)}">{ %lang p13}</a></td>
<td valign="top" class="td"><a href="{ %action(pageslist,sort=instance)}">{ %lang p6}</a></td>
<td valign="top" class="td"><a href="{ %action(pageslist,sort=created)}">{ %lang p14}</a></td>
<td valign="top" class="td"><a href="{ %action(pageslist,sort=author)}">{ %lang p25}</a></td>
<td valign="top" class="td">{ %lang p26}</td>
<td></td>
</tr>
<?php for($i=0;$i<count($data);$i++) { ?>
<tr onmouseover="javascript:setTrStyle(this);" onmouseout="javascript:removeTrStyle(this);">
<td><?php print $i+1; ?></td>
<td valign="top" class="tdview" ><b>{ #data[<?php print $i; ?>][title]}</b></td>
<td valign="top" class="tdview" ><b> <a href="{%action(viewpage,page={#data[<?php print $i; ?>][id]})}">{ #data[<?php print $i; ?>][name]}</a></b></td>
<td valign="top" class="tdview" ><b>{ #data[<?php print $i; ?>][lang]}</b></td>
<td valign="top" class="tdview" >{ #data[<?php print $i; ?>][rating]}</td>
<td valign="top" class="tdview" >{ #data[<?php print $i; ?>][instance]}</td>
<td valign="top" class="tdview" style="font-size:9px;font-style:italic;" >{ #data[<?php print $i; ?>][created]}</td>
<td valign="top" class="tdview" style="font-size:9px;font-style:italic;" >{ #data[<?php print $i; ?>][author]}</td>
<td valign="top" class="tdview" style="font-size:9px;font-style:italic;" >{ #data[<?php print $i; ?>][comment]}</td>
<td valign="top" class="tdview" ><a href="{%action(editpage,page={#data[<?php print $i; ?>][id]})}"><img src="img/reins.gif" border="0"  /></a>&nbsp;<a href="{%action(deletepage,page={#data[<?php print $i; ?>][id]})}"><img src="img/del.gif" border="0"  /></a></td>
</tr>
<?php } ?>
</table>